# 基础镜像
FROM openjdk:17

# 设置工作目录为/app
WORKDIR /app

# 拷贝jar包

COPY user-center-backend-0.0.1-SNAPSHOT.jar ./user-center-backend-0.0.1-SNAPSHOT.jar

# 入口
ENTRYPOINT ["java","-jar","./user-center-backend-0.0.1-SNAPSHOT.jar","--spring.profiles.active=prod"]

